// @ts-expect-error 不需要检测
import request from '@/utils/request'
export function getNewsList(query: unknown) {
  return request({
    url: '/web/information/news/list',
    headers: {
      isToken: false,
    },
    method: 'get',
    params: query,
  })
}

export function getNews(id: string) {
  return request({
    url: `/web/information/news/${id}`,
    headers: {
      isToken: false,
    },
    method: 'get',
  })
}

export function getCaseList() {
  return request({
    url: '/web/information/case/list',
    headers: {
      isToken: false,
    },
    method: 'get',
  })
}
